package com.tms.monitoring.controller;

import java.util.List;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.common.core.web.domain.AjaxResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import com.tms.monitoring.domain.Trajectory;
import com.tms.monitoring.service.ITrajectoryService;


@RestController
@RequestMapping("/trajectory")
@CrossOrigin
public class TrajectoryController {

    @Autowired
    private ITrajectoryService trajectoryService;


    @GetMapping("/list")
   public List<Trajectory> list(){
        return trajectoryService.list();
    }
}
